﻿using AutoMapper;
using BW.WMS.RBAC;
using BW.WMS.XKY;
using BW.WMS.XKY.DTO.Input;
using BW.WMS.XKY.DTO.Output;

namespace BW.WMS;

public class WMSApplicationAutoMapperProfile : Profile
{
    public WMSApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<UserModel, UserOutput>().ReverseMap();
        CreateMap<UserModel, UserInput>().ReverseMap();
        CreateMap<RoleModel, RoleInput>().ReverseMap();
        CreateMap<RoleModel, RoleOutput>().ReverseMap();
    }
}
